<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <title>编辑产品</title>
    <link rel="stylesheet" href="css/bootstrap.min.css"/>
    <link rel="stylesheet" href="css/main.css"/>
    <script>
        //点击选择图片按钮后，将获取到的文件路径赋值到输入框内
        window.onload = function()
        {
            var fileGet = document.getElementById('fileGet');
            var fileReceive = document.getElementById('fileReceive');
            fileReceive.value = '';
            fileGet.onchange = function()
            {
                fileReceive.value =  fileGet.value;
            }
        }
    </script>
</head>
<body>
<div class="wrapper">
    <p class="title">编辑产品</p>
    <div class="content">
        <!--表单标题开始-->
        <div class="formTitle">
            <p>编辑产品</p>
        </div>
        <!--表单标题结束-->
        <!--操作提示框开始-->
        <div class="explanation">
            <span class="explanation_icon"></span>
            <span>操作提示</span>
            <span class="fold" title="点击收起提示"></span>
            <ul>
                <li>该页面编辑添加产品信息</li>
                <li>该页面编辑添加产品信息</li>
            </ul>
        </div>
        <!--编辑产品表单开始-->
        <div class="formContent">
            <a href="javascript:;" class="btn btn-warning btn-sm">返 回</a>&nbsp;&nbsp;&nbsp;&nbsp;
            <div class="formArea">
                <div class="form-horizontal" role="form">
                    <div class="form-group">
                        <label for="" class="col-sm-3 col-md-3 col-lg-3 control-label">产品标题：</label>
                        <div class="col-sm-6 col-md-6 col-lg-6">
                            <input type="text" class="form-control" id="" placeholder="请输入产品标题">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-3 col-md-3 col-lg-3 control-label">产品编号：</label>
                        <div class="col-sm-6 col-md-6 col-lg-6">
                            <input type="text" class="form-control" id="" placeholder="请输入产品编号">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 col-md-3 col-lg-3 control-label" for="">上传广告图片：</label>
                        <div class="col-sm-4 col-md-4 col-lg-4">
                            <input type="text" id="fileReceive" class="form-control">
                        </div>
                        <span class="btn btn-success btn-file btn-md col-sm-2 col-md-2 col-lg-2"> 选择图片
                            <span class="glyphicon glyphicon-picture" aria-hidden="true"></span>
                            <input type="file" name="" value="" id="fileGet" class="form-control"/>
                        </span>
                    </div>
                    <!--<div class="form-group">
                        <label class="col-sm-3 col-md-3 col-lg-3 control-label" for="">上传产品图片：</label>
                        <div class="col-sm-6 col-md-6 col-lg-6">
                            <input type="file" id="" class="form-control">
                        </div>
                    </div>-->
                    <div class="form-group">
                        <label for="" class="col-sm-3 col-md-3 col-lg-3 control-label">产品单价：</label>
                        <div class="col-sm-6 col-md-6 col-lg-6">
                            <input type="text" class="form-control" id="" placeholder="请输入产品单价">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-3 col-md-3 col-lg-3 control-label">产品原价：</label>
                        <div class="col-sm-6 col-md-6 col-lg-6">
                            <input type="text" class="form-control" id="" placeholder="请输入产品原价">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-3 col-md-3 col-lg-3 control-label">库存量：</label>
                        <div class="col-sm-6 col-md-6 col-lg-6">
                            <input type="text" class="form-control" id="" placeholder="请输入产品库存量">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-3 col-sm-6">
                            <input type="submit" class="btn btn-block btn-primary" value="确 定">
                            <!--<button type="submit" class="btn btn-block btn-primary">登录</button>-->
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!--编辑产品表单结束-->
    </div>
</div>
<!--页脚版权开始-->
<div class="footer">
    <p>云南极速电子商务有限公司版权所有</p>
</div>
<!--页脚版权结束-->
<script src="js/jquery-1.9.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>